package com.hopes.bizz.close.gis.vo;

import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 控制区信息
 * @time 2023/11/1 9:17
 */
@Data
public class AreaControlVO implements Serializable {

    private static final long serialVersionUID = -9185921278769975313L;

    /**
     * 企业信息
     */
    private Long companyId;

    /**
     * 关键数量
     */
    private Integer keyNum;

    /**
     * 核心数量
     */
    private Integer coreNum;

    /**
     * 一般数量
     */
    private Integer normalNum;


    public String getCompanyIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getCompanyId());
    }


}
